<div class="pageHeader">
    <form onsubmit="return dialogSearch(this);" action="__URL__/categoryEdit" method="post">
        <div class="searchBar">
            <ul class="searchContent">
                <li>
                    <label>分类类型：</label>
                    <select class="combox" name="category_type" ref="combox_category_type">
                        <option value="">选择分类</option>
                        <foreach name="APP_CATEGORY" item="name" key="id">
                            <option value="{$id}" <if condition="$_REQUEST['category_type'] == $id"> selected </if>>{$name}</option>
                        </foreach>
                    </select>
                </li>
                <li>
                    <label>显示所有：</label>
                    <input type="checkbox" name="active" <if condition="!empty($_REQUEST['active'])"> checked </if> />
                </li>
                <input type="hidden" name="commodity_id" value="{$commodity_id}" />
            </ul>
            <div class="subBar">
                <ul>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">查询</button>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </form>
</div>
<div class="pageContent">
    <form method="post" action="__URL__/categoryUpdate/navTabId/__MODULE__?callbackType=closeCurrent" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
        <div class="pageFormContent" layoutH="118">
            <input type="hidden" name="category_type" value="{$category_type}" />
            <input type="hidden" name="commodity_id" value="{$commodity_id}" />
            <div inited="1000">
                <div>
                    <ul class="tree treeFolder treeCheck">
                        {$TreeFolderHTML}
                    </ul>
                </div>
                <div id="jbsxBox" class="unitBox" style="margin-left:246px;">
                </div>
            </div>
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">提交</button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" class="close">取消</button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
</div>